package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-04-22
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBN_T")
public class GwbnT extends PO<GwbnT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWBNENT", type = IdType.INPUT)
    private String GWBNENT;

    private String GWBNID;

    private BigDecimal GWBNSEQ;

    private String GWBN001;

    private String GWBN002;

    private String GWBN003;

    private String GWBN004;

    private String GWBN005;

    private String GWBN006;

    private String GWBN007;

    private String GWBN008;

    private String GWBN009;

    private String GWBN010;
    
    private String GWBN011;

    private String GWBN012;

    private String GWBN013;

    private String GWBN014;

    private String GWBN015;

    private String GWBN016;

    private String GWBN017;

    private String GWBN018;

    private String GWBN019;
    
    private String GWBNPLANT;

    private String GWBNLEGAL;

    private String GWBNACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWBNUSER;

    @TableField(fill = FieldFill.INSERT)
    private String GWBNGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String GWBNMODU;

    @TableField(fill = FieldFill.INSERT)
    private String GWBNTIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBNDATE;

    @TableField(fill = FieldFill.INSERT)
    private String GWBNORIG;

    @TableField(fill = FieldFill.INSERT)
    private String GWBNORIU;



    @Override
    protected Serializable pkVal() {
        return this.GWBNENT;
    }

}
